import 'package:fish_redux/fish_redux.dart';

import 'action.dart';
import 'state.dart';

Reducer<OrderSignViewState> buildReducer() {
  return asReducer(
    <Object, Reducer<OrderSignViewState>>{
      OrderSignViewAction.action: _onAction,
    },
  );
}

OrderSignViewState _onAction(OrderSignViewState state, Action action) {
  final OrderSignViewState newState = state.clone();
  return newState;
}
